﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>汉字转拼音</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="Hz2Py.js"></script>
</head>
<body>
<div id="demo">
输入中文：<input name="hz" id="hz" onBlur="py.value=($('#hz').toPinyin());" onChange="py.value=($('#hz').toPinyin())" onKeydown="py.value=($('#hz').toPinyin())" type="text" size="50" /><br />
显示拼音：<input name="py" id="py" type="text" size="50" /><br />
</div>
</body>
</html>